/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __QS_TextEditWindow_H__
#define __QS_TextEditWindow_H__

#include <QtGui/QWidget>

class QAbstractItemModel;
class QComboBox;
class QCompleter;
class QLabel;
class QLineEdit;
class QProgressBar;

namespace QSThink
{
	class RichTextEdit;

	class RichTextWidget : public QWidget
	{
		Q_OBJECT

	public:
		RichTextWidget(QWidget *parent = 0);

	private:
		QAbstractItemModel *modelFromFile(const QString& fileName);

		QCompleter *_completer;
		RichTextEdit *_textEdit;
	};
}

#endif

